ensure both states are initialized with the same value