redef of variable from global to local