improvements on LocaleBean