fix lati and longi. surprizingly the code was correct by chance.