fix compiling failure