fix bugs occurred when you use item, and select unit & reselect another unit.