remove deprecation warnings caused by 2.10 reversion