relativise query url
Merge branch 'querybug'

bug: query url wasn't relativized