fix formatting
emit node's exit before quitting cpgf