Fixed redirection errors