fixed compilation error in web UI