fixed csv formatting