fix routes and leadtime