fix some warnings in client_network