Fixed a level up bug