--no-network bug fixed

---no-network bug fixed and added a unit for the same