Fix ResolvedContext call