fixed bug in mapq scaling