try to manage redirection