 
     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.flatFileItemsSource
          .subscribeOn(self.scheduler)
          .do(onNext: { items in
            self.scanCondition.lock()
            while self.pauseScan {
              self.scanCondition.wait()
