improvements on checkboxes