modified processhtml
merge