bug fix in conversionf from bam to wig through bed