clean up header area code