fix csv export encoding error