Fixed creating query params