fixed bug with absence of do() call while using async callback in the loop.