revert the checkboxes