Fix crash bug with making new items