fix multiple xrefs bug