slight change to the route loader