Generate CSV fix