fix main search