fix c code generation from requirements