remove extraneous info from preamble