cleanup localization