fix bug of mac address convert to hex, support a-f,A-F