fix generate_html file