fix compiling problem