remove on_redirect_callback