fixed the redirections