added csv downloader
fixed a bug