remove ',' at the end of the line.