fix a small bug for export on SAE