Fixes the bug of double container.