fix the registration form