fix search string escaping