fix preamble generation in sar export