fix: always copy modified URL

Without this path the global URL is modified every time a query gets
executed.