raw ternQuery;try string escaping