fix async.each plugin init function
updated version