fixed AI to work with Nomos intervention