fix closure pprinter