correcting headers