broken socket.io functionality