fix checkbox unclickable for the 2nd time