prettified the index