fixed bug around handling contained items in helper