fixing stupid socket.io bug