purge unnecessary data