fixed a bug if all the names of the reads are identical we overwrite the data