rectify links