fixed double redirection