[snapshot] watch the var scoping