doctype deprecation fix