fixed the registration fields