small fixes to search2