fixed trailing comma and coefficients names