remove subclasses check