fix root redirect to be smart path