fix jaccard distance
cutoff newlines
fix bug