bug fix

didn't worked when clicking on checkbox directly