fix reg