fix the compile error