fixed bug with current data from the location sensor