checkboxes validation, fixes #9