encode the query params duh