minor adjustment on LuoYing AI
recover a function of JudgeStruct for AI