fixed bug with items