removing repeated doctype