Fixed problems with the bias setting