fixed sockets.io issue