Fixed missing socket.io bug