Networks FIX for ValueError

ValueError: list.remove(x): x not in list...