Return HTML report and fix bugs