check indexes for subclasses