remove the unused data