fix network modes

Change-Id: I192966429db0011dbe95234d3a4b464af4cf9033