Bugfixes in readcsv