remove trailing ',', forcing a tuple and breaking