enable layout + create doctype