fixed bugs with new csv download features