zenject : Attempted to use AsSingle multiple times for type ...

Container.Bind<WaitForUiState()
.WithId("WaitForSlideIn").FromSubContainerResolve().ByMethod(subContainer =>
                    {
                        subContainer.Bind<WaitForUiState>().AsSingle();
                        subContainer.Bind<float>().FromInstance(Settings.DialogueUiSettings.SlideDurationSec);
                    }) .AsSingle();
Container.Bind<WaitForUiState()
.WithId("WaitForSlideOut").FromSubContainerResolve().ByMethod(subContainer =>
                    {
                        subContainer.Bind<WaitForUiState>().AsSingle();
                        subContainer.Bind<float>().FromInstance(Settings.DialogueUiSettings.SlideDurationSec);
                    }).AsSingle();

Above are my codes with the problem but I can’t see a difference between it and the official documentation which are shown below

Container.Bind<IFoo>().WithId("foo").To<Foo1>().AsSingle();
Container.Bind<IFoo>().To<Foo2>().AsSingle();

Could someone familiar with Zenject point out what could go wrong here ?