corrected the redirection