fixed small issue with csv download