Fixed bug in items.py