CSV download fix