fix asynchronous error. local and cloud pass