fixed errors in html report from refactor