fix network bug