fix bug where unable to uncheck disabled checkbox