fix Component descendant code