fixed query param extraction in requests