handling empty mac addresses