fix XHTML validation errors