fix localization problem