resolved some asynchronous problems