remove unused data from index