fix for query param formatting