fixing checkboxes