modify query path