fixed bug where query parameters were not being stripped before muxing