Fixed a item creating bug