fix xp calc for level and pup messages