fix metaclass with six