remove extra network from config