tried to fix redirection