fix broken search