Revert "add network modes"

This reverts commit a2a9f63ae3c01bbfb108428d0ffa1bf3a47385b6.