     for path, node of @treeController.nodes when node.getData().type is 'vm'
       return if node.getData().vmName is vmName
         @treeController.collapseFolder node, =>
-          @reloadOldStructure()
+          @reloadPreviousState vmName
         , yes
 
   isNodesHiddenFor:(vmName)->

      return @treeController.expandFolder node, callback  if path is folderPath
    callback {message:"Folder not exists: #{folderPath}"}

  reloadOldStructure:(vmName)->
    iterate = (folders, index)=>
      @expandFolder folders[index], (err)=>
        if err then @unsetRecentFolder folders[index]

            return @unmountVm vmName
          @treeController.selectNode vmItem
          @utils.defer =>
            if @getOptions().useStorage then @reloadPreviousState vmName
        , yes

  unmountVm:(vmName)->
