fixed get-routes to fit production env