got rid of commas when fields==2 in case of parsing error