Fix bug in data exporting