fix nic exists logic