fix retro compatibility when using XP5K:XP

M