use related ids fix