fix main-level search