Fix redirections and clear project.