prepare for clearing links (when no relation).