bugfix xDom when no head
wip