fixed search async issues