fixed broken search event