checkmark working in on and off sstates