improve LevelManager