Fix broken and legacy links