minor for csv writer