remove deprecations as errors