bug in csv()