corrected the registration view