fix issue with ai