fixed the index name change.