fix search escaping