correcting  a checkbox