setHtmlInput fix