fixed item creation bug