fixes doctype validation errors