changes for ellipsis on index