Fix for CPrettyPrinter