fixed too many ai and made small changes