fix spec for localization.