replace async.parallel with async.map