minor tweaks to search