* fix compiling bugs