prettify tree