Fixed output of index