Header alignment correction