Fixes on the registration process.