remove extra </ul>