     @addManagedButton  = new kd.CustomHTMLView cssClass: 'hidden'
     @deleteStackButton = new kd.CustomHTMLView cssClass: 'hidden'
 
-    { title } = @getData()
+    { title } = stack = @getData()
 
     unless isKoding() or title is 'Managed VMs'
       @reinitButton = new kd.ButtonView

        cssClass   : 'add-vm-button solid green compact'
        callback   : => @handleMachineRequest 'koding'

    if has
    @addManagedButton = new kd.ButtonView
      title           : 'Add Your Own Machine'
      cssClass        : 'add-managed-button solid green compact'

isKoding                  = require 'app/util/isKoding'
showError                 = require 'app/util/showError'
showNotification          = require 'app/util/showNotification'
isManagedVMStack          = require 'app/util/isManagedVMStack'
hasManagedVMStack         = require 'app/util/hasManagedVMStack'

remote                    = require('app/remote').getInstance()

