fixes to search