fix inner_html method