fromDom fix.