deleting index