get context variable expansion working