fix redirect to root