fix async command inside each. Fixes #615