beautify output format