fix failed deprecations