fixed bug in localizations