code generation, double smicolon fix