fix some bugs in Item