Fixed a bug in Items
Eliminated some errors in the inspector