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

        if instance.workspaceData?.isDefault
          ideInstance = instance

    if ideInstance then appManager.showInstance ideInstance else fallback()


  routeToLastWorkspace = ->

        app.workspaceData     = workspace

        appManager.tell 'IDE', 'mountMachineByMachineUId', machineUId
        KD.getSingleton('mainView').emit 'WorkspaceSelected', data

    return fallback()  unless ideApps?.instances

