delete favorite when object is deleted