Fix download as CSV