fix the bug which disturbs compiling