fixing search and results