fix error in CheckboxGroup