Fixed a small bug in geocode api