undo small changes to reg.h