fixed metaclass