add minor modification to the HTML table generator