removing unused data