Fix crashing bug on strategy