sockets fix