kmer_stat fixes