BUG: CSV data entry - corrected writing - mantis #971