                 form                = modal.modalTabs.forms["Create VM"]
                 {personal, shared}  = form.buttons
 
-                makePayment formData.type, @paymentPlans[formData.host].code, ->
+                makePayment formData.type, @paymentPlans[formData.host], ->
                   modal.destroy()
               buttons               :
                 personal            :

      else
        KD.singletons.finderController.mountVm vm.name
        vmController.emit 'VMListChanged'
      paymentModal.destroy()

    group = KD.singletons.groupsController.getGroupSlug()


    if not currentGroup or currentGroup is 'koding' then "koding~#{KD.nick()}"
    else currentGroup

  createGroupVM:(type='personal', cpuSize, callback)->
    defaultVMOptions = {cpu : cpuSize, disk : 1, ram : 1}
    group = KD.singletons.groupsController.getCurrentGroup()

    group.fetchBundle (err, bundle)->
