CSV repair