removing preamble