fixed export filename
fixed encoding