Correcting misdirected links