fix error with eachAsync parameters