Bug fix for latitude/longitude changing