Correct bug on set value when exporting