Fixed localization bug