fix lat-lon bug