adapt to upstream OSRM