fixed no checkboxes bug