fix : hwaddr error on mac os x