[ai-0.36-30] ahbot crash fix [trinity only]