added missing UL end tag in render function