Correction to CSV Writer