fix some compiling warning