fix get macaddress to proper interface b/c first interface is possibly be lo which does not have mac addr