fix error : when get maxInternalMac, cause NullPointerException