fixed socket.io problem