                 if err
                     return cb2 err
 
-                async.map res.rows, (row, cb3) ->
-                    db.query "SELECT key, value FROM node_config WHERE node=$1", [row.node]
+                async.forEach res.rows, (row, cb3) ->
+                    node = row.node
+                    db.query "SELECT key, value FROM node_config WHERE node=$1", [node]
                     , (err, res) ->
                         if err
                             return cb3 err

    ##
    # MAM
    #
    # @param cb: Function(err, results, next)
    walkListenerArchive: (listener, start, end, iter, cb) ->
        db = @db
        params = [listener]

                        config = {}
                        for row in res.rows
                            config[row.key] = row.value
                        iter [{ type: 'config', node, config }]

                        cb3()
                , cb2
