[NTG-context] Bugs in defineenumeration