bug fix: was looking at second level instead of top-level containers