fix for duplicate-XP