Fix type of lat/lng