slience some deprecation warnings