fixed bug in codegeneration