fix bugs of network inner && outer