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

    return  unless selectedDir

    [ mountTo ] = selectedDir
    remotePath  = "--remotepath /home/#{machine.hostname}"

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

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

      if err
        @setMenu 'Mount failed', yes

      console.log 'Mount:', err, res


  handleUnmount: (mountId) -> =>

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

    @kd "umount #{mountId}", (err, res) =>

      if err
        @setMenu 'Unmount failed', yes
