throw when creating metamodel stuff with undefineds
catch some lexical scope problems when running in js