correction of index for z