remove odd commas and change to semicolons