removed the extra a and li closing tags