fixing issue with outputting the html file