more networking fixes