delete the unused data