some code generator issues