fix bug for checkbox initialization after 2 True values