remove duplicate doctype