fixed insertHtml in console