fixed a bug in the csv-datasource