Fixes bad coefficients