bug fix for when no checkboxes are defined at initialization