         group = group_
         # override group name with the one in token
         client.context.group = group.slug
-        queue.next()
+        next()
 
-    ->
+    (next) ->
       # fetch members of that group
       group.fetchMembers {}, options, (err, members) ->
         return res.status(500).send 'an error occured'  if err


  queue = [

    ->
      isLoggedIn req, res, (err, loggedIn, account) ->
        return res.status(500).send 'an error occured'  if err
        queue.next()

    ->
      JGroup.one { slug : name }, (err, group_) ->
        return res.status(500).send 'an error occured'  if err
        return res.status(404).send 'no group found'    unless group_
        group = group_
        queue.next()

    ->
      generateFakeClient req, res, (err, client_) ->
        return res.status(500).send 'an error occured'  if err
        client = client_
        queue.next()

    ->
      options       = {}
      options.sort  = { 'meta.createdAt' : -1 }
      options.limit = Math.min limit ? 10, 25


  ]

  async.series queue


# fetch last members of a group, if we have a permission issue for the current
