fixed empty var in generate.pp