fix dict in html()