bugfix for a slash in the query string