fix the use of __subclasses__