Changes to fix printing of items

Changes to fix printing of items