fix localization and TAO