fixed original relations not deleted from the model object after the object is deleted