fix for items not saving