Fix CSV formatting error