fixing bug with transfering xlinks from one RMF to another