fixed centering of output for indices