fix a bug of LiuLi AI