fixes the route reset