modify the register problem