fix in MetaCodeGenerator