fixing corrupt reg

Close