updated when to print mac_hdr