When the state has the same type of variable, it seems that the generated code store to the same key to map `rootNode.store`.