remove unnecessary redirection