bug fix for undefined preamble param