fix redirection after delete