Fix crash in items