fixing the network renumbering

consistently use the network prefix variable