fixing compiling bugs in governance