try to fix bitratecalc