corrected localization