cleaning up the pretty printer