made inner checkboxes uncheck automatically if outer box is unchecked