fix typo in codegen