fix redirection urls