write nt index too