Fix query params