fixed #19
fixing minor bug in GraphHopper api