close doctype in report page