remove compiling warnings