     panel     = @workspace.getView()
     filesPane = panel.getPaneByName 'filesPane'
 
-    @workspace.ready ->
+    @workspace.ready =>
       filesPane.emit 'MachineMountRequested', machineData
+      @updateMachineRoot()
 
 
   unmountMachine: (machineData) ->

          @prepareCollaboration()
          @bindKlientEvents machineItem
          @runOnboarding()
        else
          unless @machineStateModal


  handleIDEBecameReady: (machine, initial = no) ->

    { computeController } = kd.singletons

    debug 'handleIDEBecameReady', { machine, initial }

    # when MachineStateModal calls this func, we need to rebind Klient.
    @bindKlientEvents machine
    @updateMachineRoot()

    machine.getBaseKite()?.fetchTerminalSessions?()

