corrected localization sample.