fix htmlOptions