patch from robin to fix where the transport start occurs when exporting (#4098)