fixes to checkboxes