fixed server error for invalid csv
Merge pull request #473 from ngds/csv-server-error

fixed server error for invalid csv