fixing search action