reset enable state after setting the bean