resolve compilers warnings