Fixed minor redirection bug