[NTG-context] bug with head in indices