remove most warnings