Did a bit more tweaking for the leveling, shouldn't crash the game now