fix error of copying xml to html