changes for QueryPath2

changes for QueryPath2