--no-network bug fixed

---no-network bug fixed and added a unit for the same
are these necessary? It looks like these values are set in a top level before block. Having the values set in multiple places is confusing.