Fix api params