fix for AI