make double prefix replace ref link