Fix error in localization