correction of index