Fixing an error I do not understand in which the list of base classes for a class can be "YES"