set missing "scope" attribute on "entry.var_entry"