fixed routing for search