fix for checkboxes