U: repair reg error