before change Registers