rewrite, delete lame header