fixed the index of coincidence