fix wrong instancepath names on subtrees