add treble states of disabled checkbox
fix some checkbox problem