bugfix for checkboxes field