fixed a bug and turn on more logging for network device block by mac