fixed small bug in ai