minor: remove deprecation warnings
minor