[ai-119] crash at pet randomization fixed