remove extraneous headers