fixed search term escaping