delete the index