Sockets fix