fix wirte html \n as no child node