Fix the bug of network libs.