fix for when multiple items are added to the model