fix remove old index.