prettyprint cleanup