replace doctype