fixed lat/lng A/B problem