make index pretty