figured out issue casuing duplicate key to be called even when trying to save unqie item