fix fetching vector of query parameters