small refactor to html