remove preamble