fix a bug of level up