Fix CSV export

Fix #14