fix lat/lon order in coordinates