fix all the compilers warning