delete unused data structure