Fixed export_txt.