remove unneeded calls to iNetwork.getinterfaces