added escape for search