Fixed bug with lists in html