fixes to sockets