fix set descendant class