                 FeedlyAPIClient.alertController(error: e, handler: { (action) -> Void in })
             } else {
                 self.HUD.show(true , duration: 1.0, after: { () -> Void in
-                    self.streamsOfCategories[category]!.removeAtIndex(index)
+                    self.streamListDic[category]!.removeAtIndex(index)
                     self.treeView!.deleteItemsAtIndexes(NSIndexSet(index: index),
                              inParent: self.treeView!.parentForItem(subscription),
                         withAnimation: RATreeViewRowAnimationRight)

            return sections.count
        }
        if let index = item as? Int {
            return sections[index].numOfChild(streamsOfCategories)
        }
        return 0
    }

        view.addSubview(self.treeView!)

        refreshControl = UIRefreshControl()
        refreshControl?.addTarget(self, action:"refresh", forControlEvents:UIControlEvents.ValueChanged)
        treeView?.addResreshControl(refreshControl!)

        HUD = MBProgressHUD.createCompletedHUD(self.view)
        navigationController?.view.addSubview(HUD)

        refresh()
    }

    override func didReceiveMemoryWarning() {
