BUGFIX: memTypeID table should be memtype