fix deprecated doctype 5 issue.