fix email field on registration