patch to fix mac address