cleanup pretty print