                 ], withRowAnimation: .Automatic)
                 regionsTableView.endUpdates()
             }
-            else if let regionAbove = _regions.safeValue(index - 1),
-                regionBelow = _regions.safeValue(index + 1)
+            else if let regionAbove = submitableRegions.safeValue(index - 1),
+                regionBelow = submitableRegions.safeValue(index + 1)
             where regionAbove.isImage && regionBelow.isImage
             {
-                _regions.removeAtIndex(index)
-                generateTableRegions()
+                submitableRegions.removeAtIndex(index)
+                editableRegions = generateEditableRegions(submitableRegions)
                 regionsTableView.reloadData()
             }
             else {
-                _regions.removeAtIndex(index)
+                submitableRegions.removeAtIndex(index)
                 var paths = [path]
 
                 // remove the spacer *after* the deleted row (if it's the first

        resignKeyboard()
        textView.text = ""
        updateButtons()
        _regions = [.Text("")]
        generateTableRegions()
        regionsTableView.reloadData()
    }


// MARK: init

    override public init(frame: CGRect) {
        submitableRegions = [.Text("")]
        textView = OmnibarTextCell.generateTextView()
        textView.backgroundColor = UIColor.clearColor()
        super.init(frame: frame)
