 
         return self.api.command(command: "tab sb \(buffer.handle)")
       }
-      .subscribeOn(self.scheduler)
+      .subscribe(on:self.scheduler)
   }
 
   func goTo(line: Int) -> Completable {

        }
      }
      .flatMap(Single.fromSinglesToSingleOfArray)
      .subscribeOn(self.scheduler)
  }

  func newTab() -> Completable {
    self.api
      .command(command: "tabe")
      .subscribeOn(self.scheduler)
  }

  func open(urls: [URL]) -> Completable {

      .flatMapCompletable { curWin in
        self.api.winSetCursor(window: curWin, pos: [position.row, position.column])
      }
      .subscribe(on:self.scheduler)
  }

  func didBecomeMain() -> Completable { self.bridge.focusGained(true) }
