fixed redirects to root