fixed very stupid xp bug