Fixed bug where table wasnt closed in HTML.