fix descendant relationship