remove complex doctype
lowercase html