modify mac_extractor