dom recreate from parent