cleanup and setup of the default header