fix csv export
Merge pull request #11 from wvengen/feature/fix-csv-export

fix csv export