refine computation of "master" link on clone