corrected bug in allItems list