Fixed broken items code.