fix a bug about get_reads_from_value