fix build break from the XP recalculation