Fix related object save