Fixed csv formatting errors