fixed a redirection error