fix unclosed ul tags