Fix the redirection error.