how to remove unused data