fix xml relation on delete action