fixed localization problem