Change clear container logic.
Typo fix.