put the registers back