changed the delete redirection