minor update at RegistrationBean.java for field type