Fixed async bug.