fixed the route manager