fixed the checkboxes