fixed bug with unchecked registered as un-checked