changed localization correction mechanism