fix MAC address sign extension problem in logs