Fixing macaddr issue