disable deprecation messages