deleting old index