fixing purpleAI