fix mac address generation limitation