       console.log 'Mount:', err, res
 
 
-  handleUnmount: (machine) -> =>
+  handleUnmount: (mountId) -> =>
 
     @setMenu 'Unmount in progress...', yes
 
-    @kd "unmount #{machine.vmName}", (err, res) =>
+    @kd "umount #{mountId}", (err, res) =>
 
       if err
         @setMenu 'Unmount failed', yes

          ]
        }

        if machine.mountedPaths.length > 0
          # assuming that there is currently one mount point per machine
          [ mount ] = machine.mountedPaths
          actions   = [
            label : 'Open folder'
            click : handleOpen "file:///#{mount}"
          ,
            label : 'Unmount'
            click : @handleUnmount machine
          ]
          item.submenu.push
            label   : mount
            submenu : actions
        else
          item.submenu.push

    return  unless selectedDir

    [ mountTo ] = selectedDir
    remotePath  = ":/home/#{machine.username}"

    @setMenu 'Mount in progress...', yes

    @kd "mount #{machine.alias}#{remotePath} #{mountTo}", (err, res) =>

      if err
        @setMenu 'Mount failed', yes
