fix redirections