Localization correction