fix simple_html generator