fixed small crash bug with kmers