delete excess <li>