fix DOM clone bug