fix root redirect when using suburi