fix csv downloads some more