fix checkbox deselect