fix a bug of AI of Jiewei