correcting the raw links