fixed the bug with constructin DocumentFragment in dom/make