took out the history function, converted lat and long to floats (they were strings) and now they work and it's dope.