fix bug in sample_subreads