remove extraneous comma making not parseable