fix the compilation failure issue