 
     source
       .observeOn(MainScheduler.instance)
-      .subscribe(onNext: { [unowned self] state in
+      .subscribe(onNext: { state in
         guard state.openQuickly.open else {
           self.windowController.close()
           return

        )

        self.searchStream
          .subscribe(onNext: { [unowned self] pattern in
            self.pattern = pattern
            self.resetAndAddFilterOperation()
          })

            self.resetAndAddFilterOperation()
          })
          .observeOn(MainScheduler.instance)
          .subscribe(onNext: { items in
            self.count += items.count
            self.countField.stringValue = "\(self.count) items"
          })
