unsuccessful search redirects to search page