Fixed async problems.