removing xtd refs