modify redirection