reg fix

reg fix