bugfixing in find all subclass system -> now it's bugfree with custom classes