fix missing context var