 
         keys    = all: Object.keys(all), cached: Object.keys(cached)
         stack   = []
-        stackCb = (err)-> if err then callback err else stack.fin()
+        stackCb = (err) -> if err then callback err else stack.fin()
+
+        stack.push ->
+          keys.all.forEach (k)->
+            forEach k, cached[k], all[k], stackCb
 
         # remove obsolete plans in mongo
         difference(keys.cached, keys.all).forEach (k)->

      all[obj[keyField]] = obj  for obj in objs

      constructor.all selector, (err, cachedObjs)->
        return callback err  if err

        cached = {}

      ]

  @setAccount = secure (client, data, callback)->
    {delegate} = client.connection
    JSession   = require '../session'
    JSession.one {clientId: client.sessionToken}, (err, session) =>
