fix error in picking coef