silence deprecation warnings in production