BUG Fixed issue with localization example

cc @eickenberg as info copy