fix the compilation error