Bug fixes with using LevelFactoryResolver