make sure the route exists