fix which redirection