location data was not being purged properly