try to get redirection right