fix hardcode of NIC