fix the checkboxes