bug in createItemList: size of ItemListStruct, intead of ItemList