           t = 0
           while (el = row.nextSibling) && el.data == i
             t++
-            tbody.removeChild(el)
+            $(el).remove()
 
           el = row.firstChild
           while el

              return
            unedit(false)
            collapse()
            rows[i].parentNode.removeChild(rows[i])
            slots.splice(i, 1)
            counts.splice(i, 1)
            rows.splice(i, 1)

          slot = slots[i]
          stop = slot.id == volume.top.id
          row = document.createElement('tr')
          $(rows[i]).remove() if rows[i]
          rows[i] = row
          row.id = id + '_' + i
          row.data = i
