change doctype and numerator