fix compiling errors 2