set entry var scope