correct call to query path