     return machine or null
 
 
-  loadIDE = ({ machine, workspace }) ->
+  loadIDE = (data) ->
+    { machine, workspace } = data
+
     appManager = KD.getSingleton 'appManager'
     ideApps    = appManager.appControllers.IDE
     machineUId = machine.uid

        app.workspaceData     = workspace

        appManager.tell 'IDE', 'mountMachineByMachineUId', machineUId

    return fallback()  unless ideApps?.instances


        if instance.workspaceData?.isDefault
          ideInstance = instance

    if ideInstance
      appManager.showInstance ideInstance
      KD.getSingleton('mainView').emit 'WorkspaceSelected', data
    else
      fallback()


  routeToLastWorkspace = ->
