fix the compilation warning