fixed small output error

error causing second call of itemlist to break