Fix sockets