fix lvar scope