adjust case to search string