bug fix in getHex
works with AdhocWifiMac