-fixed problem with localization
-small logging improvement