change param to query