fixed CSV download