Fixed bugs with Items.