fix csv formatting