bug in coef