fixed Ai bug 'visual field exceeded'