fix a bug of GuHuo AI by a simplified but inaccurate method