Fix bug de redirection