use proper route for search