fixing search on every page

fixing search on every page