fix query params