fixed #check_for_ai_final_state