- added an escaping to the search function