fixed socket.io debugging