string comparison for more accurate search results