fix doctype and styles