fixed bug with exporting csv with strange characters