Fixed localization problem