search async to sync fix