Fixed socket.io stuff