$input[$il] =~ s/\\protect\\customizeref{$same<\/xref>/\\protect\\customizeref{$dx1}{Figures}{}/g;