started fixing search page functionality