Fix attributes for sibling, and well defined tree node
Fixes + support reference image