bugfix for setting users domicile and residence