         subs.forEach (sub)->
           if sub.status is 'active' and sub.planCode.indexOf('group_vm_') > -1
             paidVMs[sub.planCode] = sub.quantity
-
-        console.log paidVMs
-        console.log planOwner
 
         createdVMs = {}
         JVM.someData

                createdVMs[vm.planCode] = 0
              createdVMs[vm.planCode] += 1

            console.log createdVMs

            stack = []

            Object.keys(paidVMs).forEach (planCode)=>

              else
                quantity = vmQuantity - createdVMs[planCode]
              for i in [1..quantity] when quantity >= 1
                stack.push (_cb)=>
                  options     =
                    planCode  : planCode
