change end_reg_timex