fix the params for checkbox