fix lat and lon vars