bugfix: use ai_list instead of ai_hints