fix(var-inst): Fix race condition in variable view

related to CAM-941