minor adjustments to csv format