Add ureg.h to fix bugs of interruptions