fixed HTML5 issue (XHTML DOM)