fix checkbox issue