removing the index