Fixed attending bug