           }
 
 
-  fetchSubscriptions$: secure ({ connection:{ delegate }}, options, callback) ->
+  fetchSubscriptions$: secure ({ connection:{ delegate } }, options, callback) ->
     return callback { message: 'Access denied!' }  unless @equals delegate
 
     [callback, options] = [options, callback]  unless callback

      sort        : options.sort  or { timestamp: -1 }
      limit       : options.limit or 20
      skip        : options.skip  or 0
    Relationship.someData edgeSelector, edgeFields, options, (err, cursor)->
      if err then callback err
      else
        cursor.toArray (err, docs)->
          if err then callback err
          else unless docs
            callback null, []


      fakeClient = connection: delegate: this

      Payment.subscriptions fakeClient, {}, (err, subscription) ->

        if err? or not subscription?
        then plan = 'free'
        else plan = subscription.planTitle

        JMachine = require './computeproviders/machine'
        selector = 'users.id' : user.getId()

        JMachine.some selector, limit: 30, (err, machines) ->

          if err? then machines = err

