fix nested query params