Fixed wrong calculation of ##BIAS value.