fixed sam_filter_uniq