fixing sockets I hope