fix context var