fix compiling bugs
fix compiling bugs