fix compiling issue