removed last static variables of mgen types