minor bug with item handling