compatibility fix with battle simulator