fix for main search button

fix for main search button