redirection error fixed