put commas in the correct place