how 'dict' is deleted?