remove error raising for deprecations