fixed broken search event publishing