fix the redirection