correct handling of latlongwgs84