added pegging lng values, and fixed the messed up pegging of lat values