fixed the out-of-sync asunc calls.