re-Fixed crash from empty items list