fixing search in general pages