handling duplicate node error in storages