fixed bug for accidental coincidences