replace header with temp