replace `~\ref{` with `\ref{`