take query string into account