export to csv, fix flash