[hotfix] redirection bug for root visits