fixed bug where pets got no XP because the max level was not set so it was smaller than the level of the pet