fixed some nested array indexing for AI