small tweaks to search