fix registration form issue