Fix Compiling Errors