made so that ul closing tag wont disappear