bug fix of bias