small improvement to the LevelLoader