Fix a bug with using an item