   else
     cc.ready ->
 
-      if label
-        machine = cc.storage.get 'machines', 'label', label
-        debug 'machine with label', { label, machine }
+      if slug
+        machine = cc.storage.get 'machines', 'slug', slug
+        debug 'machine with slug', { slug, machine }
       else if uid
         machine = cc.storage.get 'machines', 'uid', uid
         debug 'machine with uid', { uid, machine }

      unless machine
        [ machine ] = cc.storage.get 'machines'
        if machine
          if label or uid
            showError 'Requested machine not found, first available machine is loaded instead.'
          kd.getSingleton('router').handleRoute "/IDE/#{machine.label}"
          return

      # if machine.isPermanent() or machine.meta?.oldOwner

      else if machineLabel is 'test-machine'
        routeToTestWorkspace()
      else
        routeToMachine { slug: machineLabel }

    when 'workspace'

