turn off deprecation warnings