remove deprecated redirect