fix the compiling bug