checkbox active state fix