prettify trace