Solved redirection error