Fix some bugs in Item