fix trans/pp generator