fix typo that was breaking CSV export