fix a bug of EnYuan AI