C tlang code generation fixed